*------------------------------------------------------------------------------*
* Sabine Carey, Belen Gonzalez and Christian Gläßel 
* "Divergent perceptions of peace in post-conflict societies: Insights from Sri Lanka"
* Journal of Conflict Research, 2022. Special Issue.
*------------------------------------------------------------------------------*

*
log using Replication_CGG_JCR_log, replace text

** Set your working directory to the location of this file
	clear
	set more off
	* update all // Un-comment if you need to update Stata
	version 15
	
	* If the tables to do not generate because of the error message "option noomitted not allowed”, 
	* please try to update teh respective ado file with the command:
	* ssc install estout, replace
	
	* Also:
	* findit parmest
	* findit coefplot

	
	* You can specify a working directory 
	* cd ""

	
	
*--------------------
* Manuscript
*--------------------
	
	
	* Table 1: Perceived changes in ethnic relations, security freedom of speech, and political fairness since 2009
	* Table A3. Perceived changes in ethnic relations, security, freedom of speech, and political fairness since 2009
	* Figure 2: Substantive effect of ethnicity on percieved changes since end of the war
	do "SL_analysis_Table1_TableA3_Figure2.do" 
	
	
	* Table 2: Evaluation of peace prospects
	* Table A4. Evaluation of peace prospects
	do "SL_analysis_Table2_TableA4.do" 
	
	* Table 3: Percieved changes in ethnic relations since 2015 and preferece for government harsh responses
	* Figure 3: Substantive effect of ethnicity on changes in inter-ethnic relations since 2015 and government crackdown on extremists as tool to promote peace
	* Table A5: Perceived changes in ethnic relations since 2015 and preference for government harsh responses
	do "SL_analysis_Table3_TableA5_Figure3.do"  
	
	* Figure 4: Survey item: “What is the most important division in Sri Lankan society today?”—Answers by ethnic Sinhalese	
	* Figure 5: Survey item: “How likely is it that the following acts of resistance would threaten political stability?”—Answers by ethnic Sinhalese
	do "Descriptives/SL_Figure4_Figure5.do"
	
	

	
*--------------------
* Online Appendix
*--------------------
	
	* Summary Statistics & Correlation matrix
	do "Descriptives/SL_SummaryStatistics_CorrelationMatrix.do" 


	* Table A4.1. Sri Lanka 2012 Population Census
	* Table A4.2. Sri Lanka 2018 Survey Sample
	do "Descriptives/SL_TableA41_TableA42.do"


log close

*------------------------------------------------------------------------------*
* End of Do file
*------------------------------------------------------------------------------*
